Skip to content

Instantly share code, notes, and snippets.

@IsmailAlamKhan
IsmailAlamKhan / appicon.sh
Last active March 17, 2026 15:46
Building and distribute a flutter macos app without App Store
mkdir AppIcon.iconset
sips -z 16 16 appicon.png --out AppIcon.iconset/icon_16x16.png
sips -z 32 32 appicon.png --out AppIcon.iconset/icon_16x16@2x.png
sips -z 32 32 appicon.png --out AppIcon.iconset/icon_32x32.png
sips -z 64 64 appicon.png --out AppIcon.iconset/icon_32x32@2x.png
sips -z 128 128 appicon.png --out AppIcon.iconset/icon_128x128.png
sips -z 256 256 appicon.png --out AppIcon.iconset/icon_128x128@2x.png
sips -z 256 256 appicon.png --out AppIcon.iconset/icon_256x256.png
sips -z 512 512 appicon.png --out AppIcon.iconset/icon_256x256@2x.png
sips -z 512 512 appicon.png --out AppIcon.iconset/icon_512x512.png
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; 作者: 李继刚
;; 日期: 2025-11-12
;; 剑名: 圆桌讨论
;; 剑意: 构建一个以“求真”为目标的结构化对话框架。该框架由一位极具洞察力的主持人
;; 进行引导,邀请代表不同思想的“典型代表人物”进行一场高强度的、即时响应式的
;; 深度对话。主持人将在每轮总结时生成视觉化的思考框架(ASCII Chart),通过
;; “主动质询” 与“协同共建”,对用户提出的议题进行协同探索,最终生成深刻的、
;; 结构化的知识网络。
@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active March 17, 2026 15:40
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174, 87.245.223.97
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
function Export-MFT {
<#
.SYNOPSIS
Extracts master file table from volume.
Version: 0.1
Author : Jesse Davis (@secabstraction)
License: BSD 3-Clause
.DESCRIPTION
@j-jith
j-jith / miui-fastboot-howto.rst
Last active March 17, 2026 15:39
How to flash MIUI Fastboot ROM from Linux

How to flash MIUI Fastboot ROM from Linux

@emschwartz
emschwartz / README.md
Last active March 17, 2026 15:36
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@hmmhmmhm
hmmhmmhm / harness-extract-skill.md
Created March 17, 2026 10:15
Harness engineering–specific skill generation code (extracts taste invariants)
name description user-invocable
harness-extract
Agent that extracts taste invariants from GitHub PR reviews and generates a Claude skill file (SKILL.md). Use when asked to "extract taste invariants", "analyze PR reviews for coding rules", or "run harness engineering".
true

Harness Extract Agent

IMPORTANT: Always respond in the language the user is using. If the user writes in Korean, respond in Korean. If the user writes in English, respond in English. Match the user's language throughout the conversation. The generated SKILL.md output should also be written in the user's language.

@artemgetmann
artemgetmann / claude-code-token-saving-guide.md
Last active March 17, 2026 15:33
Practical workflow for reducing token usage in Claude Code while preserving session continuity. Includes compacting strategies, CLAUDE.md structure, modular context management, and prompt engineering tips.

🧠 How to Save Context Tokens When Using Claude Code

This is a personal reference workflow for minimizing token usage while maintaining project continuity across Claude Code (Sonnet 4 with file access).


✅ Setup: Populate CLAUDE.md

Claude loads CLAUDE.md automatically at session start.

AGENTS.md

Common

Good practices

  • Always use enum for status field
  • Push Ifs Up: Move if condition from inside function to caller when the if condition is returning early
  • Push Fors Down: Prefer passing list of objects to function instead of function inside loop of objects, to allow batch operation
@seachai
seachai / gist:948ed1eeafa32ce03db6685edb879f71
Last active March 17, 2026 15:27
iTerm 2 Natural Text Editing Preset
On iTerm2 - Open Preferences > Profiles > Keys > Key Mappings > Presets > Select Natural Text Editing
- You can move a word backwards using Option ⌥ + ← and a word forwards using Option ⌥ + →
- Move to the start of the line using fn + ← and to the end of the line with fn + →.
- Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫.
If the preset doesn't appear, reinstall iTerm2. If you installed it using Homebrew + Cask:
brew cask reinstall iterm2